<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加动漫</title>
    <link rel="stylesheet" href="/anime/styles.css">
</head>
<body>
<h1>添加动漫</h1>
<form action="/anime/add" method="post">
    <div>
        <label for="title">标题</label>
        <input type="text" id="title" name="title" required>
    </div>
    <div>
        <label for="description">简介</label>
        <textarea id="description" name="description" required></textarea>
    </div>
    <div>
        <label for="imageUrl">图片路径</label>
        <input type="text" id="imageUrl" name="imageUrl" required>
    </div>
    <div>
        <label for="detailsUrl">详情页路径</label>
        <input type="text" id="detailsUrl" name="detailsUrl" required>
    </div>
    <button type="submit">添加</button>
</form>
<a href="anime">返回动漫列表</a>
</body>
</html>